|
|
|
|
Selected Property, ItemClass Class |
Defines whether this item is selected.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
VB |
Public Property Selected As Boolean |
C# |
public bool Selected { get; set; } |
C++ |
public: property bool Selected { |
Property Value
True if selected, otherwise False.
Comments
The Selected property defines whether this item is selected.
The Selected property is only available if the SelectionStyle property allows item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems). It cannot be used if cell selection (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells) is in effect.
When an item is selected, the SelectionChanged event occurs.